﻿namespace SelfService.Model.Models;

public class ReceiptInfo
{
    /// <summary>
    /// 患者ID
    /// </summary>
    public string PatientId { get; set; }

    /// <summary>
    /// 患者姓名
    /// </summary>
    public string PatientName { get; set; }

    /// <summary>
    /// 金额
    /// </summary>
    public decimal Amount { get; set; }

    /// <summary>
    /// 结算流水号
    /// </summary>
    public string TradeNo { get; set; }

    /// <summary>
    /// 结算日期
    /// </summary>
    public string TradeDate { get; set; }

    /// <summary>
    /// 医疗类型
    /// </summary>
    public HisReceiptType Type { get; set; }
    
    /// <summary>
    /// 发票地址
    /// </summary>
    public string PdfUrl { get; set; }
}

public enum HisReceiptType
{
    门诊,
    住院
}